<ion-view view-title="提交运单" cache-view="true" hide-back-button="false" ng-init="init()">
  <ion-content class="gray_back">
    <section class="g_main">
      <!-- 提交运单 -->
      <section class="truck_line track_line-edit fill_info">
        <ul>
          <li ng-click="choosedate()" class="select">
            <h4>装车日期</h4>
            <input disabled ng-model="waybillInfo.shipment_time_disp"/>
          </li>
        </ul>
        <ul>
          <li>
            <h4>起点</h4>
            <input disabled ng-model="waybillInfo.start_area_disp"/>
          </li>
          <li>
            <h4>详细地址</h4>
            <input type="text" placeholder="推荐填写" ng-model="waybillInfo.start_addr">
          </li>
          <li>
            <h4>终点</h4>
            <input disabled ng-model="waybillInfo.end_area_disp"/>
          </li>
          <li>
            <h4>详细地址</h4>
            <input type="text" placeholder="推荐填写" ng-model="waybillInfo.end_addr">
          </li>
        </ul>
        <ul>
          <li>
            <h4>货品名称</h4>
            <input type="text" placeholder="请输入货品名称" ng-model="waybillInfo.cargo_name">
          </li>
          <li class="select" ng-click="selectCargoType()">
            <h4>货品类型</h4>
            <input disabled ng-model="waybillInfo.cargo_type_disp" style="color: black">
          </li>
          <li>
            <h4>体积</h4>
            <input type="number" placeholder="请输入体积" ng-model="waybillInfo.cargo_bulk">
            <span>立方</span>
          </li>
          <li>
            <h4>重量</h4>
            <input type="number" placeholder="请输入重量" ng-model="waybillInfo.cargo_weight">
            <span>吨</span>
          </li>
          <li>
            <h4>次数</h4>
            <input type="number" placeholder="请输入次数" ng-model="waybillInfo.cargo_count">
            <span></span>
          </li>
        </ul>
        <ul>
          <li>
            <h4>发货联系人</h4>
            <input type="text" placeholder="请输入发货联系人及联系方式" ng-model="waybillInfo.consignee">
          </li>
          <li>
            <h4>装货联系人</h4>
            <input type="text" placeholder="请输入装货联系人及联系方式" ng-model="waybillInfo.consignor">
          </li>
          <li class="select" ng-click="selectDeliveryType()">
            <h4>配送方式</h4>
            <input disabled ng-model="waybillInfo.delivery_type_disp">
          </li>
          <li>
            <h4>备注</h4>
            <input type="text" placeholder="请输入备注信息" ng-model="waybillInfo.remark ">
          </li>
        </ul>
        <button class="btn_save" ng-click="waybillSubmit()">提  交</button>
      </section>
    </section>
  </ion-content>
</ion-view>
